package com.sc.nft.dto;

import com.sc.nft.enums.PayScenarioEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author 刘国航
 * @desc
 * @since 2024/12/24 20:15
 */
@Data
public class CommonPaymentDTO implements Serializable {

    private static final long serialVersionUID = 1454802745187078309L;

    @ApiModelProperty("支付场景")
    @NotNull(message = "支付场景不能为空")
    private PayScenarioEnum payScenario;

    @ApiModelProperty("是否是H5支付")
    private Boolean isH5Pay;

    @ApiModelProperty("是否是APP支付")
    private Boolean isAppPay;

}
